package com.yunfangdata.mapper;

import com.yunfangdata.domain.Classroom;
import com.yunfangdata.query.QueryObject;

import java.util.List;

public interface ClassroomMapper {


    int insert(Classroom record);


    List<Classroom> selectAll();

    int updateByPrimaryKey(Classroom record);


    //查总数
    int  queryForCount(QueryObject qo);

    //查分页数据
    List<Classroom> queryForList(QueryObject qo);

    void changeState(Long id);

}